package com.yfp.client.domain.vo;

import com.yfp.client.domain.dto.ShoppingCartsDto;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单创建展示对象
 */
@Data
@ApiModel("订单创建展示对象")
public class OrderCreateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "缺少的数量")
    private List<ShoppingCartsDto> lackList;

    @Schema(description = "订单ID")
    private String orderId;

    @Schema(description = "订单状态")
    private String status;

    @Schema(description = "有效期限")
    private Date expirationTime;

    @Schema(description = "销售结束时间")
    private String saleEndTime;

    @Schema(description = "订单金额")
    private BigDecimal paidPrice;

    @Schema(description = "优惠券Id")
    private Long couponId;

    @Schema(description = "券类型1满减券2折扣券3单品券4新人券5霸王免单券")
    private Integer couponType;
}
